//

#include <WinSock2.h>
#include <windows.h>
#include <iostream>
#include "../src/yet/Thread.h"
#include "../src/yet/Event.h"
#include "../src/yet/win32.h"
#include "../src/yet/Unicode.h"
#include "../src/yet/Handler.h"
#include "../src/yet/AutoLock.h"
#include "../src/yet/Timer.h"
#include "../src/yet/WinLoop.h"
#include "../src/yet/HWNDHandler.h"
#include "../src/yet/net/TcpClient.h"
#include "../src/ftp/EchoParse.h"
#include "../src/yet/SyncQueue.h"
#include "../src/yet/StreamLog.h"
#include "../src/ftp/FtpTest.h"
#include "../src/ftp/Packet.h"

using namespace std;
using namespace yet;
using namespace ftp;


void test() {
	ftptest();

}
void test2(){
	string s  = "abc";
	cout<<"["<<trim(s)<<"]"<<endl;
	s = " abc";
	cout<<"["<<trim(s)<<"]"<<endl;
	s = " abc ";
	cout<<"["<<trim(s)<<"]"<<endl;
	s = " a bc ";
	cout<<"["<<trim(s)<<"]"<<endl;
	s = "abc ";
	cout<<"["<<trim(s)<<"]"<<endl;
	s = "";
	cout<<"["<<trim(s)<<"]"<<endl;
	s = " ";
	cout<<"["<<trim(s)<<"]"<<endl;

}
int main(int argc, char* argv[]) {
	AutoSockLib lib;
	test();
//	test2();
	cout << "Main End" << endl;
	return 0;
}

